Structure about image conversion parameters
struct{
unsigned short nWidth;
unsigned short nHeight;
MvGvspPixelType enSrcPixelType;
unsigned char *pSrcData;
unsigned int nSrcDataLen;
MvGvspPixelType enDstPixelType;
unsigned char *pDstBuffer;
unsigned int nDstLen;
unsigned int nDstBufferSize;
unsigned int nRes[4];
}MV_CC_PIXEL_CONVERT_PARAM;
Image width
Image Height
Source pixel format, see the enumeration type MvGvspPixelType for details.
Original image data
Length of original image data
Target pixel format, see the enumeration type MvGvspPixelType for details.
Outputted data buffer, used to save the converted target data.
Converted target data length
Outputted data buffer size
Reserved.
The supported inputted and outputted pixel formats after conversion are shown below:

MV_CC_ConvertPixelType
Structure about image conversion parameters
struct{
unsigned short nWidth;
unsigned short nHeight;
MvGvspPixelType enSrcPixelType;
unsigned char *pSrcData;
unsigned int nSrcDataLen;
MvGvspPixelType enDstPixelType;
unsigned char *pDstBuffer;
unsigned int nDstLen;
unsigned int nDstBufferSize;
unsigned int nRes[4];
}MV_CC_PIXEL_CONVERT_PARAM;
Image width
Image Height
Source pixel format, see the enumeration type MvGvspPixelType for details.
Original image data
Length of original image data
Target pixel format, see the enumeration type MvGvspPixelType for details.
Outputted data buffer, used to save the converted target data.
Converted target data length
Outputted data buffer size
Reserved.
The supported inputted and outputted pixel formats after conversion are shown below:

MV_CC_ConvertPixelType